import React from 'react'
import { useSearchParams } from 'react-router-dom'

export default function One() {
    const [search] = useSearchParams()
    const a = search.get('a')
    const b = search.get('b')
  return (
    <div>
        <h3>ONE</h3>
        <p>a:{a}</p>
        <p>b:{b}</p>
    </div>
  )
}
